package top.chmin.project.cloud.sys.column.info;
import java.util.List;

import top.chmin.project.cloud.common.Page;
import org.springframework.web.bind.annotation.RestController;
import jakarta.annotation.Resource;










/**
 * chmin
 * 2024-01-25 14:22:04
 * cloud-code
 */
@RestController
public class ColumnInfoController implements
        /* append $controllerSelectOptionRestAppender$ */
        ColumnInfoSaveRest,
        ColumnInfoSelectRest,
        ColumnInfoUpdateRest,
        ColumnInfoDeleteRest,
        ColumnInfoPageRest {

    @Resource
    private ColumnInfoService columnInfoService;

    @Override
    public int save(ColumnInfoSaveRest.P p) {
        return columnInfoService.save(p);
    }

    @Override
    public ColumnInfoSelectRest.R select(ColumnInfoSelectRest.P p) {
        return columnInfoService.select(p);
    }

    @Override
    public int update(ColumnInfoUpdateRest.P p) {
        return columnInfoService.update(p);
    }

    @Override
    public int delete(ColumnInfoDeleteRest.P p) {
        return columnInfoService.delete(p);
    }

    @Override
    public Page<ColumnInfoPageRest.R> page(ColumnInfoPageRest.P p) {
        return columnInfoService.page(p);
    }

    /* append $controllerSelectOptionMethodAppender$ */

}
